package com.shop.front.dao.system;

import com.shop.jpa.BaseDao;
import com.shop.front.vo.system.SystemCitySimpleVo;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface SystemCitySimpleDao extends BaseDao<SystemCitySimpleVo, Long> {

    @Query(nativeQuery = true, value = "select * from t_system_city where is_show = 1")
    public List<SystemCitySimpleVo> findCitySimple();

}
